@import'./moudles/reset.scss';
@import'./moudles/footer.scss';
@import'./moudles/header.scss';
nav{
    // margin-left: 80px;
    background:#A9A9A9;
}
.banner{
//     width:100%;
//     height:600px;
    padding-bottom: 10px;
    position: relative;
    img{
        width:100%;
        height:600px;
        // position: absolute;
        z-index: 1;
    }
    .banner-text{
        width:500px;
        height:400px;
        color:#fff;
        text-align: center;
        position: absolute;
        left:150px;
        top:150px;
        // background: red;
        z-index: 2;
        h1{
            font-size: 45px;
            line-height: 80px;
            // color:red;
        }
        p{
            line-height: 50px;
            font-size: 30px;
        }
        a{
            display: block;
            color:#fff;
            line-height: 50px;
            font-size: 25px;
            &:hover{background: #fff;}
            &:hover,p{color: #000;}
            width:150px;
            height:50px;
            background:#ccc;
            margin-top: 30px;
            margin-bottom:10px;
            border: 1px solid #fff;
            border-radius: 30px;
            margin-left: 170px;
        }
    }
}
.navlist li{
    margin:0 10px;
    float: left;
    cursor: pointer;
    // background: orangered;
    margin-top: 10px;
    width:80px;
    height:30px;
    border-radius: 30px;
    color:#fff;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
    &:hover{
        background: #666;
   }
}
.navlist-1{
    width:600px;
    height:50px;
    float:left;
    margin-left: 150px;
    // background:red;
    li{
        margin:0 10px;
        float: left;
        cursor: pointer;
        // background: orangered;
        margin-top: 10px;
        width:80px;
        height:30px;
        border-radius: 30px;
        color:#fff;
        font-size: 14px;
        text-align: center;
        line-height: 30px;
        &:hover{
            background: #666;
       }
        &:nth-child(1){
            border-radius: 30px;
            background: #666;
        }
    }
}
.navlist-2{
    width:300px;
    height:50px;
    float:right;
    margin-right: 150px;
    // background:red;
}
.list-main{
    display: flex;
    flex-wrap:wrap;
    // justify-content: space-between;
    align-items: center;
    background: #A9A9A9;
    li{
        margin-bottom:10px;
        // width:317px;
        // height:360px;
        float: left;
        margin:4px;
        background: #f0f0f0;
        &:hover{
            transform:translateY(-5px);
            transition: transform 0.5s ;
        }
        a{
            display: inline-block;
            width:317px;
            height:360px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            // background: springgreen;
            img{
                width:200px;
                height:180px;
            }
        }
       
    }
}
.content{
    background: #434343;
    h3{
        padding-top: 20px;
        color:#fff;
        text-align: center;
    }
    .list-con{
        width:1140px;
        margin-left: 90px;
        padding-bottom: 20PX;
        border-bottom: 1px solid #fff;
        li{
            width:260px;
            height:320px;
            background:#F0F0F0;
            float:left;
            margin:0 10px;
            text-align: center;
            &:hover{
                transform:translateY(-5px);
                transition: transform 0.35s ;
            }
            img{
                width:230px;
                height:230px;
            }
            p{text-align: center;}
        }
    }
} 
.nav,.content{
    li.hover{transform:translateY(5px);}
}